﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GlassGrass.Unity.GuiFramework
	{
	/// <summary> GUI executing configs. </summary>
	public class GuiConfig
		{
		/// <summary> Button double click limit interval. </summary>
		public TimeSpan DoubleClickInterval { get; }



		/// <summary> Create GuiConfig instance with default value. </summary>
		public GuiConfig()
			: this(TimeSpan.FromMilliseconds(100))
			{
			}



		/// <summary> Create GuiConfig instance. </summary>
		/// <param name="doubleClickInterval"></param>
		public GuiConfig(TimeSpan doubleClickInterval)
			{
			DoubleClickInterval = doubleClickInterval;
			}
		}
	}
